# wsgi.py
import os,sys
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from loguru import logger
from app import create_app
from app.config import Config

app = create_app(Config)

if __name__ == "__main__":
    logger.info("****程序启动：host='0.0.0.0', port=8501 ****")
    app.run(host='0.0.0.0', port=8501)
